Skip to content

Instantly share code, notes, and snippets.

@0xthiagomartins
Last active March 14, 2025 17:14
Show Gist options
  • Save 0xthiagomartins/cff257b93960f89b39bec5330e4fbd0f to your computer and use it in GitHub Desktop.
Save 0xthiagomartins/cff257b93960f89b39bec5330e4fbd0f to your computer and use it in GitHub Desktop.
VS Code: Settings
{
// Configurações do Workbench
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.labelFormat": "short",
"workbench.activityBar.location": "hidden",
"workbench.iconTheme": "symbols",
"workbench.colorTheme": "Min Dark",
"workbench.colorCustomizations": {
"editor.background": "#0C0C0C",
"sideBar.background": "#0C0C0C",
"activityBar.background": "#0C0C0C",
"terminal.background": "#0C0C0C"
},
// Configurações do Editor
"editor.fontSize": 14,
"editor.lineHeight": 1.6,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.fontFamily": "'Fira Code', monospace",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.rulers": [120],
"editor.overviewRulerBorder": false,
"editor.parameterHints.enabled": false,
"editor.renderLineHighlight": "gutter",
"editor.suggestSelection": "first",
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.semanticHighlighting.enabled": true,
"editor.hideCursorInOverviewRuler": true,
"editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "hidden",
// Associação de arquivos e nesting
"files.associations": {
".env.*": "dotenv",
".prettierrc": "json",
"*.css": "css"
},
"symbols.files.associations": {
"*.module.ts": "nest",
"*.service.ts": "nest",
"*.guard.ts": "typescript",
"*.spec.ts": "ts-test",
"*.e2e-spec.ts": "ts-test",
"vitest.config.e2e.ts": "vite",
".env.example": "gear"
},
"explorer.fileNesting.patterns": {
"package.json": ".eslint*, prettier*, tsconfig*, vite*, pnpm-lock*, bun.lockb, nest*",
"tailwind.config.js": "tailwind.config*, postcss.config*",
".env.local": ".env*",
".env": ".env*"
},
"explorer.fileNesting.enabled": true,
// Configurações para JavaScript, TypeScript e ESLint
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.tsserver.log": "off",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.autoImports": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"graphql"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
// Configuração para Tailwind CSS
"tailwindCSS.experimental.classRegex": [
[
"tv\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
]
],
// Configurações do Terminal
"terminal.integrated.defaultLocation": "editor",
"terminal.integrated.showExitAlert": false,
"terminal.integrated.fontSize": 12,
"terminal.integrated.lineHeight": 0.8,
"terminal.integrated.fontFamily": "'Fira Code', monospace",
"terminal.integrated.gpuAcceleration": "off",
// Configurações do Git
"git.enableSmartCommit": true,
"git.autofetch": true,
"git.openRepositoryInParentFolders": "always",
// Outras configurações do Explorer e do Workspace
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.sortOrder": "foldersNestsFiles",
"symbols.hidesExplorerArrows": false,
"security.workspace.trust.untrustedFiles": "newWindow",
"update.mode": "start",
"update.showReleaseNotes": false,
// Formatação para JSON e JSONC
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
// Configurações do APC (Interface customizada)
"apc.font.family": "Fira Code",
"apc.electron": {
"titleBarStyle": "hiddenInset",
"trafficLightPosition": {
"x": 11,
"y": 10
},
"frame": false
},
"apc.stylesheet": {
".title-label > h2": "display: none",
".editor-actions": "display: none",
".pane-header": "padding: 0 8px",
".pane-body": "padding: 8px",
".panel": "border-color: #0C0C0C !important",
".tabs": "background-color: #0C0C0C !important",
".split-view-view:first-child .pane-header": "display: none !important;",
".monaco-list-row": "border-radius: 4px;",
".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;"
},
"window.menuBarVisibility": "compact",
"remote.autoForwardPortsSource": "hybrid",
// Configurações para Python
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--max-line-length=100"
],
"python.formatting.provider": "black",
// Outros ajustes
"breadcrumbs.enabled": false,
"workbench.editor.empty.hint": "hidden"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment